<%@ include file="/WEB-INF/pages/include/lang.jsp" %>
<%@ include file="/WEB-INF/pages/error.jsp" %>
<tr>
	<td>
		<c:choose>
			<c:when test="${user==null}">
				<%
					response.sendRedirect(response.encodeRedirectURL("/login.do"));
				%>
			</c:when>
			<c:otherwise>
				<table>
					<tr>
						<td align="left"><%@ include file="/WEB-INF/pages/search/player.jsp" %></td>
						<td align="right">
							<p align="right">
								Hello, <a href="/view/user.do">[<c:out value="${user.email}"/>]</a>
								<br/>
								<a href="/logout.do" style = "text-decoration:none">[Logout]</a>
							</p>
						</td>
					</tr>
				</table>
			</c:otherwise>
		</c:choose>
	</td>
</tr>